package com.js.mail.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
//排除数据源相关配置,就是common项目下的mybatis-plus依赖
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class JsmailGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(JsmailGatewayApplication.class, args);
    }

}
